package com.movisol.messengerprofileservice.exceptions;

public class ProfileServiceWebFault {
	
	private String ErrorCode;

	public ProfileServiceWebFault()
	{
		ErrorCode = null;
	}
	
	public ProfileServiceWebFault(String errorCode) {
		super();
		ErrorCode = errorCode;
	}

	public int getIntegerErrorCode() {
		return Integer.valueOf(ErrorCode.substring(2, ErrorCode.length()), 16);
	}

	public void setErrorCode(String errorCode) {
		ErrorCode = errorCode;
	}
	
	public String getErrorCode() {
		return ErrorCode;
	}

}
